import Vue from 'vue'
import moment from 'moment'

Vue.filter('datefmt',
  (arg, arg2 = 'YYYY-MM-DD hh:mm') => {
    return moment(arg).format(arg2)
  })
